<!-- <!doctype html>--> 
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<html>
<head>
	<title><tiles:insertAttribute name="title" ignore="true" />	</title>
	<link rel="stylesheet" href="<s:url value="/css/style.css"/>" type="text/css" media="all">
	<link rel="stylesheet" href="<s:url value="/css/jqueryThemes/jquery-ui-1.9.2.custom.css"/>" />
	<script type="text/javascript" src="<s:url value="/js/ajaxJson.js"/>"></script>
	<script type="text/javascript" src="<s:url value="/js/addVehicleSelection.js"/>"></script>
	<script type="text/javascript" src="<s:url value="/js/jquery-1.8.3.js"/>"></script>
	<script type="text/javascript" src="<s:url value="/js/ui/jquery-ui-1.9.2.custom.js"/>"></script>
	<script type="text/javascript" src="<s:url value="/js/ui/jquery.ui.datepicker.js"/>"></script>
	
	 
	 <script>
	
		
		$(document).ready(function() {
			$( "#menu" ).menu();
			$( "#buttonSet a" ).button();
			
			// Hover states on the static widgets
			$( "#icons li" ).hover(
				function() {
					$( this ).addClass( "ui-state-hover" );
				},
				function() {
					$( this ).removeClass( "ui-state-hover" );
				}
			);
			
			
			});
		
		
		
		$(document).ready(function() {
			$( "#datepicker" ).datepicker({
				showAnim: "fold",
				dateFormat: "dd/mm/yy",
				showOn: "both",
				constrainInput:true,
				firstDay: 1,
				defaultDate: "-18y",
				minDate:"-100y",
				maxDate: "-18y",
				yearRange: "-100y:-18y",
				changeYear: true, 
				changeMonth: true,
				duration: "fast"
				}).next('button').text('').button({
				    icons: {
				        primary: 'ui-icon-calendar'
				    },
				    text: false
				});
			});
	</script>
	
</head>

<body leftmargin="0" marginheight="0" marginwidth="0" topmargin="0"
	style="background: url(<s:url value="/images/bg.jpg"/>) repeat top left #2F0404">
	<tiles:insertAttribute name="headerMenu" />
	<tiles:insertAttribute name="headerTop" />
	<tiles:insertAttribute name="leftFloatingMenu" />
	<tiles:insertAttribute name="body" />
	<tiles:insertAttribute name="footer" />
</body>
</html>